<include file="common/fileinput"/>
<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Show/add')}">
			<div class="form-group">
				<include file="template:input" name="title" label="标题" value=""  attr='data-rule="required;length(~50)" maxlength="50"'/>
				<include file="template:number" name="sort" label="排序" value="0"  attr='data-rule="required;"' />
				<include file="template:input" name="url" label="链接地址" value=""  attr='data-rule="required;length(~100)" maxlength="100"'/>
				<include file="template:singleImage" results="data" name="img" label="图片"/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>